<%@ include file="/WEB-INF/pages/taglibs.jsp" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	
</head>

<body>
	<div class="container">
		<fieldset>
			<legend>必填信息</legend>
			<div class="row">
				<div class="col-md-11">
					<div class="form-group">
						<label class="col-md-2 control-label control-required">报表名称</label>
						<div class="col-md-7">
							<input type="text" name="report.name" class="form-control" />
						</div>
						<div class="col-sm-3">
					      <p class="form-control-static help-tip" data-html="true" data-toggle="tooltip" title="(报表文件的名称。必填，最长64个字符。同一报表组下不能有同名报表)"><i class="fa fa-2x fa-question-circle-o"></i></p>
					    </div>
				    </div>
				</div>
				<div class="col-md-11">
					<div class="form-group">
						<label class="col-md-2 control-label control-required">报表标题</label>
						<div class="col-md-7">
							<input type="text" name="report.title" class="form-control" />
						</div>
						<div class="col-sm-3">
					      <p class="form-control-static help-tip" data-html="true" data-toggle="tooltip" title="(显示在报表文件中的标题。必填，最长64个字符)"><i class="fa fa-2x fa-question-circle-o"></i></p>
					    </div>
				    </div>
				</div>
				<div class="col-md-11">
					<div class="form-group">
						<label class="col-md-2 control-label control-required">子标题</label>
						<div class="col-md-7">
							<input type="text" name="report.subtitle" class="form-control" />
						</div>
						<div class="col-sm-3">
					      <p class="form-control-static help-tip" data-html="true" data-toggle="tooltip" title="(显示在报表文件中的子标题)"><i class="fa fa-2x fa-question-circle-o"></i></p>
					    </div>
				    </div>
				</div>
				<div class="col-md-11">
					<div class="form-group">
						<label class="col-md-2 control-label control-required">最大行数</label>
						<div class="col-md-7">
							<input type="number" name="report.limit" class="form-control" />
						</div>
						<div class="col-sm-3">
					      <p class="form-control-static help-tip" data-html="true" data-toggle="tooltip" title="(报表文件中的最大数据行数。必填，请输入[1-30000]的正整数)"><i class="fa fa-2x fa-question-circle-o"></i></p>
					    </div>
				    </div>
				</div>
				<div class="col-md-11">
					<div class="form-group">
						<label class="col-md-2 control-label control-required">保存时间</label>
						<div class="col-md-7">
							<div class="input-group">
								<input type="number" name="report.lifetime" class="form-control" />
								<div class="input-group-addon">天</div>
							</div>
						</div>
						<div class="col-sm-3">
					      <p class="form-control-static help-tip" data-html="true" data-toggle="tooltip" title="(指定生成报表在服务器的存放时间，超过这一时间的报表文件，不论是否已经通过邮件发送，均会被永久删除；对此报表的所有调度生成的所有报表文件有效。推荐: 1天、7天、 30天、 90天、 365天 )"><i class="fa fa-2x fa-question-circle-o"></i></p>
					    </div>
				    </div>
				</div>
			</div>
		</fieldset>	
		<fieldset>
			<legend>页面信息</legend>
			<div class="col-md-11">
				<div class="form-group">
					<label class="col-md-2 control-label">纸张大小</label>
					<div class="col-md-7 col-md-offset-2">
						<label class="radio-inline">
							<input type="radio" name="report.page.size" class="form-control" value="A3" checked="true"/>A3
						</label>
						<label class="radio-inline">
							<input type="radio" name="report.page.size" class="form-control" value="A4"/>A4
						</label>	
					</div>
				</div>
			</div>
			<div class="col-md-11">
				<div class="form-group">
					<label class="col-md-2 control-label">纸张方向</label>
					<div class="col-md-7 col-md-offset-2">
						<label class="radio-inline">
							<input type="radio" name="report.page.orientation" class="form-control" value="vertical" checked="true"/>垂直
						</label>
						<label class="radio-inline">
							<input type="radio" name="report.page.orientation" class="form-control" value="horizontal"/>水平
						</label>
					</div>
				</div>
			</div>
			<div class="col-md-11">
				<div class="form-group">
					<label class="col-md-12 col-md-offset-1" >页眉</label>
					<div class="col-md-8 col-md-offset-2">
						<div class="form-group">
							<div class="col-md-2">
								<label>
									<input type="checkbox" name="report.page.header.type" class="form-control report-page" value="icon"/>
								</label>
								<label class="control-label"> 图标</label>
							</div>
							<div class="col-md-3">
								<select name="report.page.header.align" class="form-control" disabled="disabled" data-select2-dropdown-parent="#edit-custom-report-infopanel" data-select2-minimum-results-for-search="-1">
									<option value="left">居左</option>
									<option value="center">居中</option>
									<option value="right">居右</option>
								</select>
							</div>
							<div class="col-md-6">
								<div class="input-group file">
									<input type="text" class="form-control" disabled="disabled" placeholder="选择图标文件">
									<input type="file" name="report.page.header.value" disabled="disabled" title="选择"/>
									<div class="input-group-btn">
										<button type="button" class="btn btn-sm btn-info" disabled="disabled">浏览</button>
									</div>
								</div>
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-2">
								<label>
									<input type="checkbox" name="report.page.header.type" class="form-control report-page" value="text"/>
								</label>
								<label class="control-label"> 文字</label>
							</div>
							<div class="col-md-3">
								<select name="report.page.header.align" class="form-control" disabled="disabled" data-select2-dropdown-parent="#edit-custom-report-infopanel" data-select2-minimum-results-for-search="-1">
									<option value="left">居左</option>
									<option value="center">居中</option>
									<option value="right">居右</option>
								</select>
							</div>
							<div class="col-md-6">
								<input type="text" name="report.page.header.value" class="form-control" disabled="disabled" />
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-2">
								<label>
									<input type="checkbox" name="report.page.header.type" class="form-control report-page" value="pn"/>
								</label>
								<label class="control-label"> 页码</label>
							</div>
							<div class="col-md-3">
								<select name="report.page.header.align" class="form-control" disabled="disabled" data-select2-dropdown-parent="#edit-custom-report-infopanel" data-select2-minimum-results-for-search="-1">
									<option value="left">居左</option>
									<option value="center">居中</option>
									<option value="right">居右</option>
								</select>
							</div>
							<div class="col-md-6">
								
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="col-md-11">
				<div class="form-group">
					<label class="col-md-12 col-md-offset-1" >页脚</label>
					<div class="col-md-8 col-md-offset-2">
						<div class="form-group">
							<div class="col-md-2">
								<label>
									<input type="checkbox" name="report.page.footer.type" class="form-control report-page" value="icon" />
								</label>
								<label class="control-label"> 图标</label>
							</div>
							<div class="col-md-3">
								<select name="report.page.footer.align" class="form-control" disabled="disabled" data-select2-dropdown-parent="#edit-custom-report-infopanel" data-select2-minimum-results-for-search="-1">
									<option value="left">居左</option>
									<option value="center">居中</option>
									<option value="right">居右</option>
								</select>
							</div>
							<div class="col-md-6">
								<div class="input-group file">
									<input type="text" class="form-control" placeholder="选择图标文件">
									<input type="file" name="report.page.footer.value" title="选择"/>
									<div class="input-group-btn">
										<button type="button" class="btn btn-sm btn-info" disabled="disabled">浏览</button>
									</div>
								</div>
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-2">
								<label>
									<input type="checkbox" name="report.page.footer.type" class="form-control report-page" value="text"/>
								</label>
								<label class="control-label"> 文字</label>
							</div>
							<div class="col-md-3">
								<select name="report.page.footer.align" class="form-control" disabled="disabled" data-select2-dropdown-parent="#edit-custom-report-infopanel" data-select2-minimum-results-for-search="-1">
									<option value="left">居左</option>
									<option value="center">居中</option>
									<option value="right">居右</option>
								</select>
							</div>
							<div class="col-md-6">
								<input type="text" name="report.page.footer.value" class="form-control" disabled="disabled" />
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-2">
								<label>
									<input type="checkbox" name="report.page.footer.type" class="form-control report-page" value="pn"/>
								</label>
								<label class="control-label"> 页码</label>
							</div>
							<div class="col-md-3">
								<select name="report.page.footer.align" class="form-control" disabled="disabled" data-select2-dropdown-parent="#edit-custom-report-infopanel" data-select2-minimum-results-for-search="-1">
									<option value="left">居左</option>
									<option value="center">居中</option>
									<option value="right">居右</option>
								</select>
							</div>
							<div class="col-md-6">
								
							</div>
						</div>
					</div>
				</div>
			</div>
		</fieldset>	
	</div>
</body>
</html>